import { Module } from '@nestjs/common';
import { OrderEmitterService } from './order-emitter.service';
import { OrderEmitterController } from './order-emitter.controller';
import { OrderCreatedListener } from './listeners/order-created.listener';
import { EventEmitterReadinessWatcher } from 'src/common/utils/EventEmitterReadinessWatcher';

@Module({
  controllers: [OrderEmitterController],
  providers: [
    OrderEmitterService,
    OrderCreatedListener,
    EventEmitterReadinessWatcher,
  ],
})
export class OrderEmitterModule {}
